import numpy as np
import matplotlib.pyplot as plt
import sympy
import sympy as sy

p1 = 4.553e-11
p2 = -5.757e-09
p3 = 3.089e-07
p4 = -9.181e-06
p5 = 0.0001659
p6 = -0.001897
p7 = 0.01416
p8 = -0.08859
p9 = 0.4306
p10 = 0.7275
x = sy.symbols('x')
f = p1 * x ** 9 + p2 * x ** 8 + p3 * x ** 7 + p4 * x ** 6 + p5 * x ** 5 + p6 * x ** 4 + p7 * x ** 3 + p8 * x ** 2 + p9 * x + p10

JKX = sympy.lambdify(x,f)

